package com.mentaleye.dal.dao;

import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.DeptRelation;
import com.mentaleye.dal.model.DeptRelationExample;
import com.mentaleye.dal.model.DeptRelationKey;

public interface DeptRelationDao {

	public boolean insertDeptRelation(DeptRelation deptRelation);
	
	public boolean insertDeptRelationList(List<DeptRelation> list);
	
	public boolean deleteDeptRelation(DeptRelationKey key);
	
	public boolean deleteDeptRelation(Map<String, Object> map);
	
	public DeptRelation selectDeptRelationOne(DeptRelationKey key);
	
	public List<DeptRelation> selectDeptRelationList(DeptRelationExample example);
}
